<?php

class ConnectionParameters{
	
	public $host		= "localhost";
	public $username	= "root";
	public $password	= "root";
	public $dbname		= "sremcica2";
	public $port		= 3306;
	
	function __construct(){
	}
	
	function get(){
		$cp = new ConnectionParameters();
		$ret = array(
			"host"		=> $cp->host,
			"username"	=> $cp->username,
			"password"	=> $cp->password,
			"dbname"	=> $cp->dbname,
			"port"		=> $cp->port,
		);
		return (object)$ret;
	}
}

?>